<?php
/**
 * 公共类
 *
 */
class PublicAction extends Action {
	
	public function fckeditor($inputName='content', $content='', $toolbar='Default', $width='100%', $height='320'){
		include_once "public/fckeditor/fckeditor.php";
		$editor = new FCKeditor ( $inputName );
		$editor->BasePath = 'public/fckeditor/';
		$editor->ToolbarSet = $toolbar;
		$editor->Width = $width;
		$editor->Height = $height;
		$editor->Value = $content;
		return $editor->CreateHtml ();
	}
	
	public function t(){
		return;
	}
}

?>